home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / qtools.arc / QEKEYS.ARC / QCONFIG.B < prev    next >
Text File  |  1990-08-24  |  11KB  |  337 lines

  1. *  QCONFIG.B     -- Configuration file for QEDIT2 to emulate Brief
  2. *
  3. *  First Written: ??-Sep-88   Randy Wallin, Pompano Beach, FL
  4. *  Last Revised:  25-Jul-89   Steve Lynch   Misc fixes.
  5. *                 04-Oct-89   Tim Farley    For QEdit 2.08, QEdit OS/2 1.1
  6. *                 07-Nov-89   TF            Misc edits.
  7. *
  8. *  ------------------------------------------------------------------------
  9. *  NOTE:  WE RECOMMEND YOU PRINT THIS FILE OUT AND REFER TO IT AS YOU
  10. *         RUN THE QCONFIG PROGRAM TO CONFIGURE YOUR COPY OF QEDIT.
  11. *
  12. *  ------------------------------------------------------------------------
  13. *  If you're a BRIEF user, you'll like Qedit's small size (all you need is
  14. *  the Q.EXE file) - so it's something easy to carry from customer to customer.
  15. *  
  16. *  NOTE:  See below in file for comments on the specific assignments.
  17. *
  18. *         The following QEdit commands are not assigned in this file,
  19. *         due to conflicts with Brief assignments.  You may wish to pick
  20. *         some keys to assign these to:
  21. *
  22. *         Command            Default QEdit Key      Notes
  23. *         --------------     ------------------     --------------
  24. *         AddLine            F2                     See ^Enter
  25. *         CopyOverBlock      Alt-Z
  26. *         Dos                Alt-F9
  27. *         DupLine            F4
  28. *         GetPrev            Ctrl-_
  29. *         GPQuit             F3
  30. *         InsertLine         Alt-F2
  31. *         MakeCtrOfScreen    Shift-F5
  32. *         ToggleTabsOut      Alt-I
  33. *         UnKill             Control-U
  34. *         UnMarkBlock        Alt-U                  Also ^K_H
  35. *         WriteBlock         Alt-W                  Also ^K_W
  36. *
  37. *  ------------------------------------------------------------------------
  38. *  SEE DEFAULT QCONFIG.DAT FOR FURTHER INSTRUCTIONS ON MODIFYING THIS FILE.
  39. *
  40.  
  41. f1                      prev_window
  42. f2                      grow_window
  43. f3                      horizontal_window
  44. f4                      close_window
  45. f5                      find
  46. f6                      find_replace
  47. f7                      macro_record        
  48. f8                      executescrap                                   
  49. f9                      macro_read
  50. f10                     pquit
  51.  
  52. * enhanced keyboard only
  53. f11
  54. f12
  55.  
  56. *
  57. * these next two imitate BRIEF's tab-in/tab-out commands 
  58. #f1                     shiftleft
  59. #f2                     shiftright
  60. #f3
  61. #f4                     maketopofscreen
  62. #f5                     repeat_find
  63. #f6                     repeatfind
  64. #f7                     pause
  65. #f8
  66. #f9
  67. #f10                    show_entry_screen
  68.  
  69. * enhanced keyboard only
  70. #f11
  71. #f12
  72.  
  73. ^f1                    toggleEGA43
  74. ^f2                    sort
  75. ^f3
  76. ^f4
  77. ^f5
  78. ^f6
  79. ^f7                     macro_write
  80. ^f8                     toggleboxdraw
  81. ^f9                     toggleboxtype
  82. ^f10                    g_exit
  83.  
  84. * enhanced keyboard only
  85. ^f11
  86. ^f12
  87.  
  88. @f1                     
  89. @f2                     match
  90. @f3                     insert_date
  91. @f4                     insert_time
  92. @f5                     macrobegin find pause return 'B' return
  93. @f6                     macrobegin find_replace pause return 'B' return
  94. @f7                     screen_left
  95. @f8                     screen_right
  96.  
  97. * Use the next two lines if you have QCP and QMAC.
  98. * @f10 - does a global save - then compiles the current file
  99. @f9  macrobegin dos 'QCP /2 ' current_filename return
  100. @f10 macrobegin save_file onewindow unmarkblock dropanchor editfile 'errors.lst' return quit gotoblockbeg unmarkblock dos 'QCP/G /O.\errors.lst
  101.  
  102. *
  103. * if you don't use QCP and QMAC - use this
  104. * take note: if you use Clipper - change the "foxpcomp" to Clipper
  105. *@f10    macro_begin gsave dos 'foxpcomp -e ' current_filename ' >fixit.err' return return horizontal_window edit_file 'fixit.err' return find "error" return return
  106.  
  107. * enhanced keyboard only
  108. @f11
  109. @f12
  110.  
  111. *
  112. * special keys
  113. *
  114.  
  115. cursorup                cursor_up
  116. cursordown              cursor_down
  117. cursorleft              cursor_left
  118. cursorright             cursor_right
  119. ^cursorleft             word_left
  120. ^cursorright            word_right
  121. home                    beg_line
  122. end                     end_line
  123. ^home                   begscreen                                      
  124. ^end                    endscreen                                      
  125. pgup                    page_up
  126. pgdn                    page_down
  127. ^pgdn                   endfile                                        
  128. ^pgup                   begfile                                        
  129.  
  130. #tab                    tab_lt
  131. tab                     tab_rt
  132.  
  133. ins                     paste
  134. del                     del_ch
  135.  
  136. backspace               backspace
  137. ^backspace              del_lt_word
  138.  
  139. enter                   return
  140. ^enter                  macrobegin addline begline                     
  141.  
  142. escape                  escape
  143. * BRIEF default uses the * as the undo key (makes it hard for dBase folks to
  144. * enter comments - for those who still do.) - so we changed the undo to the 
  145. * ` (below the ~)
  146. grey*                   input_ch
  147. grey+                   copy
  148. grey-                   cut
  149. #del                    del_rt_word
  150. #ins                    macro_begin main_menu "o" "i" paste main_menu "o" "i"
  151.  
  152. `                       undo_cursorline
  153. ~                       input_ch
  154. /                       input_ch
  155. ^prtsc                  pasteover
  156. ^2
  157. ^6
  158. ^[                      half_pgdn
  159. * the following macro is defined to ^] in the default QCONFIG.DAT
  160. ^\                      MacroBegin AltWordSet MarkWord Copy DefaultWordSet EditFile Paste Return
  161. ^]                      half_pgup
  162. ^-                      pquit
  163.  
  164. *
  165. * alternate keys
  166. *
  167.  
  168. @a                      markcharacter                                  
  169. @b_a                    append_scrbuff
  170. @b_l                    get_scrbuff
  171. @b_s                    storescrbuff
  172. @c                      markcolumn                                     
  173. @d                      del_line
  174. @e                      edit_file
  175. @f                      currentfilename                       
  176. @g                      goto_line
  177. @h                      quick_help
  178. @i                      toggle_insert
  179. @j                      join_line
  180. @k                      del_to_eol
  181. @l                      mark_line
  182. @m                      dropanchor                                     
  183. @n                      next_file
  184. @o                      change_filename
  185. @p                      macro_begin main_menu 'p'
  186. @q                      literal                                        
  187. @r                      read_block
  188. @s                      find
  189. @t                      find_replace
  190. @u                      undocursorline                                 
  191. @v                      toggle_tabs_expand
  192. @w                      savefile                                       
  193. @x                      gexit                                          
  194. @y                      gsave
  195. @z                      shell
  196. @1                      Upper
  197. @2                      Lower
  198. @3                      Flip
  199. @4
  200. @5
  201. @6
  202. @7
  203. @8
  204. @9
  205. @0
  206. @-                      prev_file
  207. @=                      MacroBegin MarkWord Copy Find Paste Return Return
  208.  
  209. *
  210. * control keys
  211. *
  212.  
  213.  
  214. ^a                      align
  215. ^b                      makebotofscreen
  216. ^c                      page_down
  217. ^d                      scrollup
  218. ^e                      macro_begin main_menu "F" "L" "*.prg" beg_line
  219. ^f
  220. ^g                      del_ch
  221. ^g_b                    goto_block_beg
  222. ^g_e                    goto_block_end
  223. ^h                      backspace
  224. ^i                      toggle_indent
  225. ^j                      goto_line
  226. ^k_b                    mark_block_begin
  227. ^k_c                    copy_block
  228. ^k_d                    exit
  229. ^k_e                    edit_file
  230. ^k_f                    change_filename
  231. ^k_h                    unmark_block
  232. ^k_k                    mark_block_end
  233. ^k_n                    next_file
  234. ^k_p                    prev_file
  235. ^k_q                    pquit
  236. ^k_r                    read_block
  237. ^k_s                    save_file
  238. ^k_t                    MarkWord
  239. ^k_v                    move_block
  240. ^k_w                    write_block
  241. ^k_x                    file
  242. ^k_y                    delete_block
  243. ^k_z                    kill_file
  244. ^l                      literal
  245. ^m                      macrobegin splitline begline cursordown        
  246. ^n                      split_line
  247. ^o_c                    close_window
  248. ^o_l                    set_print_left_margin
  249. ^o_n                    next_window
  250. ^o_o                    one_window
  251. ^o_p                    prev_window
  252. ^o_g                    grow_window
  253. ^o_r                    set_rmargin
  254. ^o_s                    shrink_window
  255. ^o_h                    horizontal_window
  256. ^o_w                    toggle_wordwrap
  257. ^o_z                    zoom_window
  258. ^p                      literal
  259. ^q_a                    wrap_para
  260. ^q_b                    goto_block_beg
  261. ^q_c                    end_file
  262. ^q_d                    end_line
  263. ^q_e                    beg_screen
  264. ^q_f                    find
  265. ^q_i                    toggle_indent
  266. ^q_k                    goto_block_end
  267. ^q_l                    undo_cursorline
  268. ^q_p                    prev_position
  269. ^q_r                    beg_file
  270. ^q_s                    beg_line
  271. ^q_t                    toggle_smart_tabs
  272. ^q_x                    end_screen
  273. ^q_y                    del_to_eol
  274. ^r                      page_up
  275. ^s                      g_save
  276. ^t                      maketopofscreen                                
  277. ^u                      scrolldown                                     
  278. ^v                      toggle_insert
  279. ^w                      togglebakups                                   
  280. ^x                      scroll_up
  281. ^y                      del_line
  282. ^z                      scroll_down
  283.  
  284.  
  285. *
  286. * other enhanced only keys
  287. *
  288. @'
  289. @,
  290. @.
  291. @/
  292. @;
  293. @[
  294. @\
  295. @]
  296. @`
  297. @backspace
  298. @enter
  299. @escape
  300. @grey*
  301. @grey+
  302. @grey-
  303. @grey/
  304. @greycursordown
  305. @greycursorleft
  306. @greycursorright
  307. @greycursorup
  308. @greydel
  309. @greyend
  310. @greyhome
  311. @greyins
  312. @greypgdn
  313. @greypgup
  314. @enter
  315. @tab
  316.  
  317. greyenter       return
  318. ^greyenter      ExecuteScrap
  319. @greyenter
  320. ^centercursor
  321. ^cursordown     linedown
  322. ^cursorup       lineup
  323. ^del
  324.  
  325. ^grey*
  326. ^grey+
  327. ^grey-
  328. ^grey/
  329. ^ins
  330. ^tab
  331.  
  332. centercursor
  333.  
  334. *
  335. * EOF: QCONFIG.B
  336. *
  337.